package com.xjc.business.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 学生和宿舍楼宿舍床位的关系
 * @TableName all_student_stay_relations
 */
@TableName(value ="all_student_stay_relations")
@Data
public class AllStudentStayRelations implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 学生id
     */
    private Integer stuId;

    /**
     * 宿舍楼id
     */
    private Integer buildId;

    /**
     * 宿舍id
     */
    private Integer dormId;

    /**
     * 床位id
     */
    private Integer bedId;

    /**
     * 状态(0:正常 1:换宿中 )
     */
    private Integer status;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}